package com.eastelsoft.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/error")
public class ErrorController {

	@RequestMapping("/404")
	public String to404() {
		return "/404";
	}
	
	@RequestMapping("/500")
	public String to500() {
		return "/500";
	}
	
}
